Home
Modules and jsdoc - Bestie

Since there was a significant amount of code repetition in the logic for each level, I decided to create modules to achieve several benefits: Separation of Concerns, Encapsulation, Reusability, Scalability, Maintainability, Testability, Improved Collaboration, and Adherence to the DRY Principle.

To make these modules easier to use, I also created detailed JSDoc documentation explaining each one.

Here is the jsdoc: LINK.